#!/bin/bash
SERVERS="whois.apnic.net whois.arin.net whois.ripe.net"
while read QUERY
do
	for SERVER in $SERVERS
	do
		whois -h $SERVER "$QUERY"
	done
done
